CSharpTest.Net
Complete Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Threading Namespace > IWorkQueue<T> Interface : Complete Method

completePending
timeout

Glossary Item Box

Waits for all queued tasks to complete and then exists all threads

Syntax

Visual Basic (Declaration) 
Function Complete( _
   ByVal completePending As Boolean, _
   ByVal timeout As Integer _
) As Boolean
C# 
bool Complete( 
   bool completePending,
   int timeout
)

Parameters

completePending
timeout

Return Value

Returns true if all pending tasks were completed before the timeout expired.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys